import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhangdi on 2021/01/07 18:00:09.
 */
public class test1 {

    public static void main(String[] args) {
        String a = "aoakdkdkgsdf";
        String b = "假的假的假的假的和";
        String aa = null;
        for (byte aByte : a.getBytes(StandardCharsets.UTF_8)) {
            aa += aByte+", ";
        }
        System.out.println(aa);

        aa = null;
        for (byte aByte : a.getBytes(StandardCharsets.US_ASCII)) {
            aa += aByte+", ";
        }
        System.out.println(aa);

        aa = null;
        for (byte aByte : b.getBytes(StandardCharsets.UTF_8)) {
            aa += aByte+", ";
        }
        System.out.println(aa);

        aa = null;
        for (byte aByte : b.getBytes()) {
            aa += aByte+", ";
        }
        System.out.println(aa);

//        Map<Integer, String> romanMap = new HashMap<>();
//        String[] roman = {"Ⅰ", "Ⅱ", "Ⅲ", "Ⅳ", "Ⅴ"};
//        int[] secbuild = {3, 3, 4, 5, 6};
//        int idx = 0;
//        int id = 1;
//        while (idx < 4){
//            String i1 = "等别"+roman[idx] + "."+"级别"+(idx+1);
//            romanMap.put(id, i1);
//            String i2 = "等别"+roman[idx] + "."+"级别"+secbuild[idx];
//            id++;
//            romanMap.put(id, i2);
//
//            idx++;
//            id++;
//        }
//
//        romanMap.entrySet().forEach(entry -> {
//            System.out.println(entry.getKey() +" "+entry.getValue());
//        });
    }
}
